<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="shangchuan" enctype="multipart/form-data">
    {% csrf_token %}
    <input type="file" name="img">
    <input type="text" name="name"/>
    <input type="text" name="price"/>
    <input type="text" name="desc"/>
    <input type="submit" value="上传"/>
</form>
</body>
</html>